class Temper:
    def __init__(self,S=0,H=0):
        self.S=float(S)
        self.H=float(H)
    def __set__(self, instance, value):
        self.S=value
    def __get__(self, instance, owner):
            self.S=(value-32)/1.8
        else:
            self.H=value*1.8+32

temp=Temper(4,5)
temp.S=18
print(temp.H)
temp.H=132
print(temp.S)


